
@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/system/walletConfig/walletconfigedit.js"]}){
<form id="userForm" lay-filter="userForm" class="layui-form model-form">
    <input name="id" type="hidden"/>
    <div class="layui-form-item">
        <label class="layui-form-label">imei<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="imei" placeholder="请输入imei" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">钱包名称<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="wallet" placeholder="请输入钱包名称" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">钱包类型</label>
        <div class="layui-input-block">
            <input type="radio" name="type" value="1" title="代收" checked/>
            <input type="radio" name="type" value="2" title="代付"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">钱包额度<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="maxAmount" placeholder="请输入钱包额度" type="number" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">钱包预警额度<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="threshold" placeholder="请输入钱包预警额度" type="number" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-block">
            <input type="radio" name="enable" value="true" title="开启" checked/>
            <input type="radio" name="enable" value="false" title="关闭"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否达到上限</label>
        <div class="layui-input-block">
            <input type="radio" name="isMax" value="true" title="已上限" checked/>
            <input type="radio" name="isMax" value="false" title="未上限"/>
        </div>
    </div>
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}
